<%= cache "foo" do %>
  <%= "Cached!" if caching? %>
<% end %>
